/**
 * 
 */
package com.zhiteng.service;

import java.util.List;

import com.zhiteng.entity.Teacher;

/**  
* <p>Title: TeacherService.java</p>  
* <p>Description: </p>  
* @author dragon  
* @date 2018年11月7日  
* @version 1.0  
*/
public interface TeacherService {
	
	int saveTeacherBatch(List<Teacher> teacherList);
	
	List<Teacher> queryTeacherByTeacherNameAndSchoolName(String schoolName, String teacherName);
	
	Teacher queryTeacherByCellphoneAndSchoolName(String cellphone, String name);
	
	List<Teacher> queryTeacherByTelephone(String telephone);

	Teacher queryTeacherById(String teacher_id);
	
	List<Teacher> queryAllTeacherBySchoolName(String schoolName);
	
	/////////////////////////////////////////////////

	List<Teacher> queryTeacherByNameAndTelephone(String name, String telephone);

	Teacher queryTeacherByTeacherId(String teacher_id);
	
	int updateTeacher(Teacher teacher);
	
	int updateBonusPoint(String teacherId, Integer type);

}
